package com.thb.pay.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.thb.pay.db.entity.SuperEntity;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 苹果-支付凭据表
 * </p>
 *
 * @author lucky
 * @since 2019-07-21
 */
@Data
@Accessors(chain = true)
@TableName("iap_receipt")
public class IapReceipt extends SuperEntity<IapReceipt> {

    private static final long serialVersionUID = 1L;

    /**
     * 支付订单号
     */
    private String payOrderId;

    /**
     * 商户ID
     */
    private Long mchId;

    /**
     * 应用ID
     */
    private String appId;

    /**
     * IAP业务号
     */
    private String transactionId;

    /**
     * 渠道ID
     */
    private String receiptData;

    /**
     * 处理状态:0-未处理,1-处理成功,-1-处理失败
     */
    private Integer status;

    /**
     * 处理次数
     */
    private Integer handleCount;
}
